package com.jeesite.modules.exam.quota.entity;

import javax.validation.constraints.Size;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import lombok.Data;

/**
 * 考核任务指标表-指标信息Entity
 * @author xhc
 * @version 2022-05-28
 */
@Table(name="dc_sup_exam_quota_info", alias="a", label="考核任务指标表-指标信息信息", columns={
		@Column(name="id", attrName="id", label="主键", isPK=true),
		@Column(name="quota_id", attrName="quotaId", label="指标id"),
		@Column(name="exam_year", attrName="examYear", label="考核年度"),
		@Column(name="quota_type", attrName="quotaType", label="指标类别"),
		@Column(name="sort_num", attrName="sortNum", label="序号", comment="序号（排序列）", isQuery=false, isUpdateForce=true),
		@Column(name="quota_content", attrName="quotaContent", label="目标内容"),
		@Column(name="file_flag", attrName="fileFlag", label="是否补充细则", comment="是否补充细则（1是、2否）", isQuery=false),
		@Column(name="remarks", attrName="remarks", label="备注", comment="备注", isQuery=false),
		@Column(name="quota_class", attrName="quotaClass", label="分类", comment="分类", isQuery=false),
	}, orderBy="a.sort_num asc"
)
@Data
public class DcSupExamQuotaInfo extends DataEntity<DcSupExamQuotaInfo> {
	
	private static final long serialVersionUID = 1L;
	 /**
	 * 指标id
	 */
	private String quotaId;
	 /**
	 * 考核年度
	 */
	private String examYear;
	 /**
	 * 指标类别
	 */
	private String quotaType;
	 /**
	 * 序号（排序列）
	 */
	private Long sortNum;
	 /**
	 * 目标内容
	 */
	private String quotaContent;
	 /**
	 * 单位（数学或物理方面的单位）
	 */
	private String quotaUnit;
	 /**
	 * 权数（分值）
	 */
	private Double quotaWeight;
	 /**
	 * 本年度目标
	 */
	private String currentYaerGoal;
	 /**
	 * 上一年度目标任务
	 */
	private String lastYaerGoal;
	 /**
	 * 上一年度完成情况
	 */
	private String lastYearComplete;
	 /**
	 * 是否补充细则（1是、2否）
	 */
	private String fileFlag;

	private String remarks;

	private String exameOrgs;

	private String fileId;

	private String fileName;
	private String quotaGroup;
	private String exameOrg;
	private String fileuploadId;
	private String actions;
	private String quotaClass;
	private String rowno;
	private String assessMethod;
	private String orgType;
	private String flag;
	private String examId;
	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getRowno() {
		return rowno;
	}

	public void setRowno(String rowno) {
		this.rowno = rowno;
	}
	public String getExameOrg() {
		return exameOrg;
	}

	public void setExameOrg(String exameOrg) {
		this.exameOrg = exameOrg;
	}

	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getQuotaGroup() {
		return quotaGroup;
	}

	public void setQuotaGroup(String quotaGroup) {
		this.quotaGroup = quotaGroup;
	}

	public String getExameOrgs() {
		return exameOrgs;
	}

	public void setExameOrgs(String exameOrgs) {
		this.exameOrgs = exameOrgs;
	}

	public String getExameOrgNames() {
		return exameOrgNames;
	}

	public void setExameOrgNames(String exameOrgNames) {
		this.exameOrgNames = exameOrgNames;
	}

	private String exameOrgNames;
	@Override
	public String getRemarks() {
		return remarks;
	}

	@Override
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public DcSupExamQuotaInfo() {
		this(null);
	}

	public DcSupExamQuotaInfo(String id){
		super(id);
	}
	
	@Size(min=0, max=64, message="指标id长度不能超过 64 个字符")
	public String getQuotaId() {
		return quotaId;
	}

	public void setQuotaId(String quotaId) {
		this.quotaId = quotaId;
	}
	
	@Size(min=0, max=4, message="考核年度长度不能超过 4 个字符")
	public String getExamYear() {
		return examYear;
	}

	public void setExamYear(String examYear) {
		this.examYear = examYear;
	}
	
	@Size(min=0, max=10, message="指标类别长度不能超过 10 个字符")
	public String getQuotaType() {
		return quotaType;
	}

	public void setQuotaType(String quotaType) {
		this.quotaType = quotaType;
	}
	
	public Long getSortNum() {
		return sortNum;
	}

	public void setSortNum(Long sortNum) {
		this.sortNum = sortNum;
	}
	
	@Size(min=0, max=255, message="目标内容长度不能超过 255 个字符")
	public String getQuotaContent() {
		return quotaContent;
	}

	public void setQuotaContent(String quotaContent) {
		this.quotaContent = quotaContent;
	}
	
	@Size(min=0, max=255, message="单位长度不能超过 255 个字符")
	public String getQuotaUnit() {
		return quotaUnit;
	}

	public void setQuotaUnit(String quotaUnit) {
		this.quotaUnit = quotaUnit;
	}

	public Double getQuotaWeight() {
		return quotaWeight;
	}

	public void setQuotaWeight(Double quotaWeight) {
		this.quotaWeight = quotaWeight;
	}

	@Size(min=0, max=255, message="本年度目标长度不能超过 255 个字符")
	public String getCurrentYaerGoal() {
		return currentYaerGoal;
	}

	public void setCurrentYaerGoal(String currentYaerGoal) {
		this.currentYaerGoal = currentYaerGoal;
	}
	
	@Size(min=0, max=255, message="上一年度目标任务长度不能超过 255 个字符")
	public String getLastYaerGoal() {
		return lastYaerGoal;
	}

	public void setLastYaerGoal(String lastYaerGoal) {
		this.lastYaerGoal = lastYaerGoal;
	}
	
	@Size(min=0, max=255, message="上一年度完成情况长度不能超过 255 个字符")
	public String getLastYearComplete() {
		return lastYearComplete;
	}

	public void setLastYearComplete(String lastYearComplete) {
		this.lastYearComplete = lastYearComplete;
	}
	
	@Size(min=0, max=10, message="是否补充细则长度不能超过 10 个字符")
	public String getFileFlag() {
		return fileFlag;
	}

	public void setFileFlag(String fileFlag) {
		this.fileFlag = fileFlag;
	}
	
}